﻿using PhysicalExamination5.Model.DataMaintenance;
using PhysicalExamination5.Model.PhysicalExamination;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PhysicalExamination5.Interface.DataMaintenance
{
    public interface ITaoCanWeiHu
    {
        #region 获取数据
        /// <summary>
        /// 获取套餐主
        /// </summary>
        /// <param name="getTaoCanChaXun"></param>
        /// <returns></returns>
        public string GetTaoCanZhuList(GetTaoCanChaXun getTaoCanChaXun);
        /// <summary>
        /// 获取套餐主详情
        /// </summary>
        /// <param name="tid"></param>
        /// <returns></returns>
        public string GetTaoCanZhuEntity(string tid);
        /// <summary>
        /// 获取套餐主下的套餐
        /// </summary>
        /// <param name="TaoCanZhuID"></param>
        /// <returns></returns>
        public string GetTaoCanList(string TaoCanZhuID);
        /// <summary>
        ///  获取套餐下的项目
        /// </summary>
        /// <param name="TaoCanID"></param>
        /// <returns></returns>
        public string GetTaoCanXiangMuList(string TaoCanID);
        #endregion

        #region 提交数据
        /// <summary>
        /// 保存套餐主
        /// </summary>
        /// <param name="tid"></param>
        /// <param name="SaveTaoCanZhu"></param>
        /// <param name="strYuanQuQianZhui"></param>
        /// <returns></returns>
        public string SaveTaoCanZhuData(string? tid, SaveTaoCanZhuHelp SaveTaoCanZhu, string strYuanQuQianZhui);
        /// <summary>
        /// 删除套餐主
        /// </summary>
        /// <param name="tid"></param>
        /// <returns></returns>
        public string DeleteTaoCanZhuData(string tid);
        /// <summary>
        /// 套餐保存
        /// </summary>
        /// <param name="TaoCanZhuID"></param>
        /// <param name="strYuanQuQianZhui"></param>
        /// <param name="saveTaoCanHelp"></param>
        /// <returns></returns>
        public string SaveTaoCanData(string TaoCanZhuID, string strYuanQuQianZhui, SaveTaoCanHelp saveTaoCanHelp);
        /// <summary>
        /// 删除套餐
        /// </summary>
        /// <param name="tid"></param>
        /// <returns></returns>
        public string DeleteTaoCanData(string tid);
        /// <summary>
        /// 修改套餐下的项目
        /// </summary>
        /// <param name="TaoCanID"></param>
        /// <param name="updateTaoCan"></param>
        /// <returns></returns>
        public string UpdateTaoCanData(string TaoCanID, UpdateTaoCanHelp updateTaoCan);
        #endregion
    }
}
